import { createRouter,createWebHashHistory,RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [

    {
        path: '/',
        component: () => import('../components/HelloWorld.vue')
    },
    {
        path: '/Reigstr',
        component: () => import('../components/Reigstr.vue')
    },
    {
        path: '/Login',
        component: () => import('../components/Login.vue')
    },
    {
        path: '/Usershow',
        component: () => import('../components/Usershow.vue')
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes
})
///导出路由
export default router;
